package com.think.teaching.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.think.teaching.model.Training;
import com.think.teaching.model.TrainingCheckPoint;

import java.util.List;

/**
 * <p>
 * 实训 服务类
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
public interface TrainingService extends IService<Training> {
	Training AddTraining(Training result);

	Training UpdateTraining(Training result);

	Training GetTraining(Integer id);


	Training SetTrainingState(Integer id, Integer state);
	
	List<TrainingCheckPoint> GetCheckPoint(Integer trainingId,
										   Boolean withoutBan);

}
